package com.sumi.erp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 采购库存对象 stock_virtual_report
 * 
 * @author fgf67@163.com
 * @date 2024-06-27
 */
public class StockVirtualReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购库存id */
    private Long id;

    /** 公司父级id */
    @Excel(name = "公司父级id")
    private Long blocId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long sellerId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 销售/采购详情id */
    @Excel(name = "销售/采购详情id")
    private Long orderDtlId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal num;

    /** 单位 */
    @Excel(name = "单位")
    private String uom;

    /** 已报价数量 */
    @Excel(name = "已报价数量")
    private BigDecimal quoteNum;

    /** 库存所处单 */
    @Excel(name = "库存所处单")
    private String sourceKey;

    /** 库存状态 0负库存 1正库存 */
    @Excel(name = "库存状态 0负库存 1正库存")
    private Integer status;

    /** 调拨单id */
    @Excel(name = "调拨单id")
    private Long moveId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 虚拟仓库id */
    @Excel(name = "虚拟仓库id")
    private Long virtualWarehouseId;

    /** 虚拟仓位id */
    @Excel(name = "虚拟仓位id")
    private Long virtualLocationId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBlocId(Long blocId) 
    {
        this.blocId = blocId;
    }

    public Long getBlocId() 
    {
        return blocId;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderDtlId(Long orderDtlId) 
    {
        this.orderDtlId = orderDtlId;
    }

    public Long getOrderDtlId() 
    {
        return orderDtlId;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setUom(String uom) 
    {
        this.uom = uom;
    }

    public String getUom() 
    {
        return uom;
    }
    public void setQuoteNum(BigDecimal quoteNum) 
    {
        this.quoteNum = quoteNum;
    }

    public BigDecimal getQuoteNum() 
    {
        return quoteNum;
    }
    public void setSourceKey(String sourceKey) 
    {
        this.sourceKey = sourceKey;
    }

    public String getSourceKey() 
    {
        return sourceKey;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setMoveId(Long moveId) 
    {
        this.moveId = moveId;
    }

    public Long getMoveId() 
    {
        return moveId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setVirtualWarehouseId(Long virtualWarehouseId) 
    {
        this.virtualWarehouseId = virtualWarehouseId;
    }

    public Long getVirtualWarehouseId() 
    {
        return virtualWarehouseId;
    }
    public void setVirtualLocationId(Long virtualLocationId) 
    {
        this.virtualLocationId = virtualLocationId;
    }

    public Long getVirtualLocationId() 
    {
        return virtualLocationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("blocId", getBlocId())
            .append("sellerId", getSellerId())
            .append("orderId", getOrderId())
            .append("orderDtlId", getOrderDtlId())
            .append("num", getNum())
            .append("uom", getUom())
            .append("quoteNum", getQuoteNum())
            .append("sourceKey", getSourceKey())
            .append("status", getStatus())
            .append("moveId", getMoveId())
            .append("productId", getProductId())
            .append("virtualWarehouseId", getVirtualWarehouseId())
            .append("virtualLocationId", getVirtualLocationId())
            .append("remark", getRemark())
            .toString();
    }
}
